/* http.h */

#ifndef HTTP_H_FILE
#define HTTP_H_FILE

typedef int (*http_header_callback)(char *header, char *value, void *data);

int http_extract_headers(char *req, int len, char **endp, http_header_callback func, void *data);

#endif /* HTTP_H_FILE */
